const userRouter = require('./user')
const noteRouter = require('./note')
const detailRouter = require('./detail')

// 
function useRouter(app){
    app.use(userRouter.routes(),userRouter.allowedMethods());
    app.use(noteRouter.routes(),noteRouter.allowedMethods());
    app.use(detailRouter.routes(),detailRouter.allowedMethods());
}

module.exports = useRouter